﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Qplus.protocol
{
    public class U2C_RESP_LOGIN : InPacket
    {

        private long appID;
	
	    private int userLevel;
	
	    private int result;

        protected override void parseBody(byte[] data, int offset, int count)
        {
		    appID = get4(data);
		    userLevel = get1(data);
		    result = get1(data);
	    }

	    public int getResult() {
		    return result;
	    }

	    public void setResult(int result) {
		    this.result = result;
	    }

	    public int getUserLevel() {
		    return userLevel;
	    }

	    public void setUserLevel(int userLevel) {
		    this.userLevel = userLevel;
	    }

	    public long getAppID() {
		    return appID;
	    }

	    public void setAppID(long appID) {
		    this.appID = appID;
	    }

    }
}
